package com.brush.brushcommon.common.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.brush.brushcommon.common.BasicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户角色表
 * </p>
 *
 * @author debug
 * @since 2024-07-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("sys_user_role")
@Schema(name = "UserRole对象", description = "用户角色表")
public class UserRole extends BasicEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "角色主键")
    private Long roleId;
    @Schema(description = "用户主键")
    private Long userId;
    @Schema(description = "创建人")
    private String gmtFounder;
}
